public static void Send_Request_Sns_Switch(COM_REFUSE_TYPE type, int tag) { CSPkg msg = NetworkModule.CreateDefaultCSPKG(0x52a); msg.stPkgData.stRefuseRecallReq.bRefuseStatus = (byte)tag; msg.stPkgData.stRefuseRecallReq.bRefuseType = (byte)type; Singleton <NetworkModule> .GetInstance().SendLobbyMsg(ref msg, true); }
public static void Send_Request_Sns_Switch(COM_REFUSE_TYPE type, int tag) { CSPkg cSPkg = NetworkModule.CreateDefaultCSPKG(1322u); cSPkg.stPkgData.get_stRefuseRecallReq().bRefuseStatus = (byte)tag; cSPkg.stPkgData.get_stRefuseRecallReq().bRefuseType = type; Singleton <NetworkModule> .GetInstance().SendLobbyMsg(ref cSPkg, true); }
public static bool IsOnSnsSwitch(uint switchBits, COM_REFUSE_TYPE type) { return((switchBits & (((int)1) << type)) > 0L); }