Esempio n. 1
0
        //WIP World Object
        public ModelGameServerInfo GetGameServerInfo()
        {
            Loger.Log("Client Get WorldObject From Server");
            var packet = new ModelInt()
            {
                Value = 1
            };
            var stat = TransObject <ModelGameServerInfo>(packet, (int)PackageType.Request43WObjectUpdate, (int)PackageType.Response44WObjectUpdate);

            return(stat);
        }
Esempio n. 2
0
        public ModelInfo GetInfo(ServerInfoType serverInfoType)
        {
            Loger.Log("Client GetInfo " + serverInfoType.ToString());
            var packet = new ModelInt()
            {
                Value = (int)serverInfoType
            };
            var stat = TransObject <ModelInfo>(packet, (int)PackageType.Request5UserInfo, (int)PackageType.Response6UserInfo);

            return(stat);
        }
Esempio n. 3
0
        public ModelInfo GetInfo(bool fullInfo)
        {
            Loger.Log("Client GetInfo " + (fullInfo ? 1 : 2).ToString());
            var packet = new ModelInt()
            {
                Value = fullInfo ? 1 : 2
            };
            var stat = TransObject <ModelInfo>(packet, 5, 6);

            return(stat);
        }
Esempio n. 4
0
        public ModelInfo WorldLoad()
        {
            Loger.Log("Client WorldLoad (GetInfo 3)");
            var packet = new ModelInt()
            {
                Value = 3
            };
            var stat = TransObject <ModelInfo>(packet, 5, 6);

            return(stat);
        }
Esempio n. 5
0
        public ModelInfo GetInfo(OCUnion.Transfer.ServerInfoType serverInfoType)
        {
            Loger.Log("Client GetInfo " + serverInfoType.ToString());
            var packet = new ModelInt()
            {
                Value = (int)serverInfoType
            };
            var stat = TransObject <ModelInfo>(packet, 5, 6);

            return(stat);
        }