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"), }); }