鸟寅

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
public struct ObjId : IComparable<ObjId>, IEquatable<ObjId>
{
public int Cls;
public static readonly ObjId Empty;
public int Id;
public int Owner;

public ObjId(int cls, int owner, int id);
public ObjId(int cls, ServiceId srv, int id);

public static bool operator !=(ObjId x, ObjId y);
public static bool operator ==(ObjId x, ObjId y);

public int CompareTo(ObjId other);
public static ObjId Deserialize(IArchiveReader reader);
public override bool Equals(object obj);
public bool Equals(ObjId other);
public static ObjId FromBag(string s);
public override int GetHashCode();
public ServiceId GetSrv();
public static bool IsSameLocal(ObjId x, ObjId y);
public bool IsTypeOf(int cls);
public bool OwnTo(ServiceId srv);
public void Serialize(IArchiveWriter writer);
public string ToBag();
public override string ToString();
}

  

posted on 2012-03-01 17:09  nywd  阅读(238)  评论(0编辑  收藏  举报