Beispiel #1
0
    public override void GetFrom(IByteStream stream)
    {
        seed = stream.GetInt();
        int count = stream.GetInt();

        for (int i = 0; i < count; i++)
        {
            pid.Add(stream.GetUInt());
        }
    }
Beispiel #2
0
        public void GetFrom(IByteStream stream)
        {
            int count = stream.GetInt();

            for (int i = 0; i < count; i++)
            {
                T s = new T();
                s.GetFrom(stream);
                list.Add(s);
            }
        }
Beispiel #3
0
 public override void GetFrom(IByteStream stream)
 {
     mapType = stream.GetInt();
 }
Beispiel #4
0
 public void GetFrom(IByteStream stream)
 {
     x = stream.GetInt();
 }
Beispiel #5
0
 public int GetInt(int index)
 {
     return(_stream.GetInt(index));
 }