namespace XGame { public static class UIDDefine { private static long UID_ADD = 0; /// /// 自增的UID,全局唯一 /// /// public static long New() { return ++UID_ADD; } } }