/// <summary> /// Notifies all server members that a server was deleted entirely. /// </summary> /// <param name="server"></param> public void OnServerDeleted(DbServer server) { RPCPayloadServerDeleted payload = new RPCPayloadServerDeleted(server._id); RPCMessageTool.SendRPCMsgToServer(conn, RPC.RPCOpcode.SERVER_DELETED, payload, server._id); }
/// <summary> /// Notifies all members of a server that it has been updated /// </summary> /// <param name="server"></param> public void OnServerUpdated(DbServer server) { RPCPayloadServerUpdated payload = new RPCPayloadServerUpdated(NetGuild.GetGuild(server)); RPCMessageTool.SendRPCMsgToServer(conn, RPC.RPCOpcode.SERVER_UPDATED, payload, server._id); }