public static void On_GetAntiData(CSPkg msg) { if (!MonoSingleton <TssdkSys> .instance.bEnableTSS) { return; } TssSdk.TssSdkRcvAntiData(msg.stPkgData.stAntiDataSyn.szBuff, msg.stPkgData.stAntiDataSyn.wLen); }
internal void SetAntiData(byte[] data, int len = 0) { if (data != null) { if (len == 0) { len = data.Length; } TssSdk.TssSdkRcvAntiData(data, (ushort)len); } }
public void StartWithTalker(IApolloTalker talker, float intervalBetweenCollections = 2f) { this.intervalBetweenCollections = intervalBetweenCollections; this.ResetTimeInterval(); this.talker = (talker as ApolloTalker); if (this.talker == null) { throw new Exception("Talker must not be null !"); } this.talker.Register <ApolloTSS>(TalkerCommand.CommandDomain.TSS, delegate(ApolloTSS resp) { if (resp != null) { ADebug.Log("tss recv data len:" + resp.wLen); TssSdk.TssSdkRcvAntiData(resp.szData, resp.wLen); } else { ADebug.Log("Tss resp is null"); } }); }
public static void On_GetAntiData(CSPkg msg) { TssSdk.TssSdkRcvAntiData(msg.stPkgData.stAntiDataSyn.szBuff, msg.stPkgData.stAntiDataSyn.wLen); }
private void OnReceiveServerDataToClient(byte[] data) { TssSdk.TssSdkRcvAntiData(data, (ushort)data.Length); }
public void OnRcvWhichNeedToSendClientSdk(byte[] data, uint length) { Hotfix.PrintBytes("RCV " + this.tag, data); TssSdk.TssSdkRcvAntiData(data, (ushort)length); }