Exemple #1
0
    /// <summary>
    /// <para>name : SetSdkLoginAuthInfo</para>
    /// <para>describe : 서버에서 내려받은 SDK Login 패킷을 저장.</para>
    /// <para>tag : [email protected]</para>
    /// </summary>
    public void SetSdkLoginAuthData(string userNo, RES_SDK_LOGIN packet)
    {
        m_sdkLoginData = new SdkLoginData(userNo, SdkU3d.getPropStr(ConstProp.UID), packet);

        OldSdkAccountID = m_sdkLoginData.sdkLoginAuthInfo != null ? m_sdkLoginData.sdkLoginAuthInfo.aid : 0;
        SdkGameLoginSucess(m_sdkLoginData.sdkLoginAuthInfo);
    }
Exemple #2
0
    public SdkLoginData(string userNo, string uid, RES_SDK_LOGIN packet)
    {
        this.sdkLoginAuthInfo = packet.sdkLoginRet;

        this.uid = uid;

        this.userNo    = userNo;
        this.accessKey = packet.accessKey;
        this.criptKey  = packet.criptKey;
    }