public void Save(LocalStorageSystem manager) { manager.PutInt(m_lUnVerifyList.Count); IAPPayment temp; foreach (string orderId in m_lUnVerifyList.Keys) { temp = m_lUnVerifyList[orderId]; manager.PutInt(temp.mPlatform); manager.PutString(temp.mServerId); manager.PutString(temp.mPlayerId); manager.PutString(temp.mProductId); manager.PutInt(temp.mGoodId); manager.PutString(temp.mOrderId); manager.PutString(temp.mOrderReceipt); manager.PutInt(temp.mVerifyFaildedTimes); } }
public void Load(LocalStorageSystem manager) { int count = 0; manager.GetInt(); IAPPayment temp; for (int i = 0; i < count; ++i) { temp = new IAPPayment(); temp.mPlatform = manager.GetInt(); temp.mServerId = manager.GetString(); temp.mPlayerId = manager.GetString(); temp.mProductId = manager.GetString(); temp.mGoodId = manager.GetInt(); temp.mOrderId = manager.GetString(); temp.mOrderReceipt = manager.GetString(); temp.mVerifyFaildedTimes = manager.GetInt(); m_lUnVerifyList.Add(temp.mOrderId, temp); } }
public void Load(LocalStorageSystem manager) { name = manager.GetString(); uid = manager.GetString(); AccountHistory = manager.GetString(); }
public void Save(LocalStorageSystem manager) { manager.PutString(name); manager.PutString(uid); manager.PutString(AccountHistory); }
public void Load(LocalStorageSystem manager) { m_iServerId = manager.GetInt(); m_sServerIP = manager.GetString(); m_iServerPort = manager.GetInt(); }
public void Save(LocalStorageSystem manager) { manager.PutInt(m_iServerId); manager.PutString(m_sServerIP); manager.PutInt(m_iServerPort); }