static public int Update(IntPtr l) { try { LNet self = (LNet)checkSelf(l); self.Update(); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
void Update() { if (net != null) { net.Update(); } if (ChatNet != null) { ChatNet.Update(); } if (_updateFn != null) { _updateFn.call(); } }
void Update() { if (net != null) { net.Update(); } if (ChatNet != null) { ChatNet.Update(); } if (_updateFn != null) { _updateFn.Call(); } if (lua != null) { lua.Update(); } Timer.Update(); }