Exemplo n.º 1
0
        public virtual int Size()
        {
            int nSize = 0;

            try {
                nSize += EquipItemPartType_Serializer.Size(part_type);
            } catch (System.Exception) {
                return(-1);
            }
            return(nSize);
        }
Exemplo n.º 2
0
 public virtual bool Load(MemoryStream _buf_)
 {
     try {
         if (false == EquipItemPartType_Serializer.Load(ref part_type, _buf_))
         {
             return(false);
         }
     } catch (System.Exception) {
         return(false);
     }
     return(true);
 }
Exemplo n.º 3
0
 public virtual bool Store(MemoryStream _buf_)
 {
     try {
         if (false == EquipItemPartType_Serializer.Store(_buf_, part_type))
         {
             return(false);
         }
     } catch (System.Exception) {
         return(false);
     }
     return(true);
 }