public static ushort GetCountOfFaces(LevelscriptCommand cmd) { cmd.Position = 4; ushort val = cmd.ReadUInt16(); cmd.Position = 0; return(val); }