public static Vector3 GetOffset(ref GeolayoutCommand command) { command.Position = 2; var value = new Vector3(); value.X = command.ReadInt16(); value.Y = command.ReadInt16(); value.Z = command.ReadInt16(); command.Position = 0; return(value); }
public static short GetBackgroundID(GeolayoutCommand command) { command.Position = 0x2; short value = command.ReadInt16(); command.Position = 0; return(value); }