示例#1
0
        void Client_ReceivePieceCount(RemoteEntityWorld sender, ReceiveDataReader reader)
        {
            Vec2i value = reader.ReadVec2i();

            if (!reader.Complete())
            {
                return;
            }
            pieceCount = value;
        }
示例#2
0
        void Client_ReceiveIndex(RemoteEntityWorld sender, ReceiveDataReader reader)
        {
            Vec2i value = reader.ReadVec2i();

            if (!reader.Complete())
            {
                return;
            }
            index = value;
        }
 void Client_ReceivePieceCount( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Vec2i value = reader.ReadVec2i();
     if( !reader.Complete() )
         return;
     pieceCount = value;
 }
 void Client_ReceiveIndex( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Vec2i value = reader.ReadVec2i();
     if( !reader.Complete() )
         return;
     index = value;
 }
示例#5
0
 void Client_ReceivePropertiesToClient( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Size = reader.ReadVec2();
     Position = reader.ReadVec3();
     Segments = reader.ReadVec2i();
     RenderQueueGroup = (RenderQueueGroupID)reader.ReadVariableUInt32();
     ReflectionLevel = (ReflectionLevels)reader.ReadVariableUInt32();
     PhysicsHeight = reader.ReadSingle();
     DeepColor = reader.ReadColorValue();
     ShallowColor = reader.ReadColorValue();
     ReflectionColor = reader.ReadColorValue();
     ReflectionTextureSize = (ReflectionTextureSizes)reader.ReadVariableUInt32();
     FixedPipelineMap = reader.ReadString();
     FixedPipelineMapTiling = reader.ReadSingle();
     FixedPipelineColor = reader.ReadColorValue();
 }