reset() public method

public reset ( ) : void
return void
Ejemplo n.º 1
0
 static int reset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         KBEngine.NetworkInterface obj = (KBEngine.NetworkInterface)ToLua.CheckObject <KBEngine.NetworkInterface>(L, 1);
         obj.reset();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 2
0
        public void reset()
        {
            currserver          = "loginapp";
            currstate           = "create";
            serverVersion       = "";
            serverScriptVersion = "";

            entity_uuid = 0;
            entity_id   = 0;
            entity_type = "";


            lastticktime_           = System.DateTime.Now;
            lastUpdateToServerTime_ = System.DateTime.Now;
            spaceID          = 0;
            spaceResPath     = "";
            isLoadedGeometry = false;

            networkInterface_.reset();
        }