コード例 #1
0
 public static void Execute(stSetEncdecLogonUserCmd cmd)
 {
     Debug.Log("网关要求的加密方式: " + cmd.enctype);
     Net.Instance.Send(new stPasswdLogonUserCmd()
     {
         dwUserID     = UserID,
         loginTempID  = LoginTempID,
         pstrName     = MyConvert.ToBytesOfNameString("wanghaijun"),
         pstrPassword = MyConvert.ToBytesOfAccountString("bwgame.org"),
     });
 }
コード例 #2
0
ファイル: TcpTest.cs プロジェクト: zhudianyu/TestGitOperation
	public static void Execute(stSetEncdecLogonUserCmd cmd)
	{
		Debug.Log("网关要求的加密方式: " + cmd.enctype);
		Net.Instance.Send(new stPasswdLogonUserCmd()
		{
			dwUserID = UserID,
			loginTempID = LoginTempID,
			pstrName = MyConvert.ToBytesOfNameString("wanghaijun"),
			pstrPassword = MyConvert.ToBytesOfAccountString("bwgame.org"),
		});
	}