private 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;
        }
Exemplo n.º 3
0
 void Client_ReceiveIndex( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Vec2I value = reader.ReadVec2I();
     if( !reader.Complete() )
         return;
     index = value;
 }
Exemplo n.º 4
0
 void Client_ReceivePieceCount( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Vec2I value = reader.ReadVec2I();
     if( !reader.Complete() )
         return;
     pieceCount = value;
 }
Exemplo n.º 5
0
		void Client_ReceivePropertiesToClient( RemoteEntityWorld sender, ReceiveDataReader reader )
		{
			Size = reader.ReadVec2();
			Position = reader.ReadVec3();
			Segments = reader.ReadVec2I();
			CustomMesh = reader.ReadString();
			RenderQueueGroup = (RenderQueueGroups)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();
			UseHDRTexture = reader.ReadBoolean();
			AllowFog = reader.ReadBoolean();
		}