public void AllClientsIgnoreGLCall(bool enable) { var pkg = new S2C_IgnoreGLCall.ArgumentData(); pkg.Enable = enable; if (ProfilerConnect != null) { S2C_IgnoreGLCall.Instance.DoCall( ref pkg, NetCore.ERouteTarget.Self, ProfilerConnect, null); } }
public void OnS2C_IgnoreGLCall(byte userFlags, ref S2C_IgnoreGLCall.ArgumentData cmd, UInt16 serialId, NetCore.NetConnection connect, ref NetCore.RPCRouter.RouteData routeInfo) { CEngine.Instance.IgnoreGLCall = cmd.Enable; }