Пример #1
0
        public static BuildingPrivilege DeserializeLength(Stream stream, int length)
        {
            BuildingPrivilege buildingPrivilege = Pool.Get <BuildingPrivilege>();

            BuildingPrivilege.DeserializeLength(stream, length, buildingPrivilege, false);
            return(buildingPrivilege);
        }
Пример #2
0
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     BuildingPrivilege.DeserializeLength(stream, size, this, isDelta);
 }