ArtemisComm.Packet.OverrideSetOrigin C# (CSharp) Method

OverrideSetOrigin() public method

sets the origin. Origin is normally not accessible since it can be deduced from the Packet type. However, this allows setting the origin for reverse-engineering the protocol AND for future-compatibility: if a new packet is built into a later version of Artemis, this library might not need updated to continue to support it.
public OverrideSetOrigin ( OriginType origin ) : void
origin OriginType The origin.
return void
        public void OverrideSetOrigin(OriginType origin)
        {
            Origin = origin;
        }
        public int Padding { get; set; }