public static Hashtable MNVItemsProviderTransactionVItemInfoToDictionary(MNVItemsProvider.TransactionVItemInfo srcObject) { Hashtable result = new Hashtable(2); result["Delta"] = srcObject.Delta; result["Id"] = srcObject.Id; return result; }
public static Hashtable MNVItemsProviderTransactionErrorToDictionary(MNVItemsProvider.TransactionError srcObject) { Hashtable result = new Hashtable(5); result["ClientTransactionId"] = srcObject.ClientTransactionId; result["CorrUserId"] = srcObject.CorrUserId; result["ErrorMessage"] = srcObject.ErrorMessage; result["FailReasonCode"] = srcObject.FailReasonCode; result["ServerTransactionId"] = srcObject.ServerTransactionId; return result; }
public static Hashtable MNVItemsProviderTransactionInfoToDictionary(MNVItemsProvider.TransactionInfo srcObject) { Hashtable result = new Hashtable(4); result["ClientTransactionId"] = srcObject.ClientTransactionId; result["CorrUserId"] = srcObject.CorrUserId; result["ServerTransactionId"] = srcObject.ServerTransactionId; Hashtable[] dictionaryArray = new Hashtable[srcObject.VItems.Length]; for (int index = 0;index < srcObject.VItems.Length;index++) { dictionaryArray[index] = MNVItemsProviderTransactionVItemInfoToDictionary(srcObject.VItems[index]); } result["VItems"] = dictionaryArray; return result; }
public static Hashtable MNVItemsProviderGameVItemInfoToDictionary(MNVItemsProvider.GameVItemInfo srcObject) { Hashtable result = new Hashtable(5); result["Description"] = srcObject.Description; result["Id"] = srcObject.Id; result["Model"] = srcObject.Model; result["Name"] = srcObject.Name; result["Params"] = srcObject.Params; return result; }
public static Hashtable MNVItemsProviderPlayerVItemInfoToDictionary(MNVItemsProvider.PlayerVItemInfo srcObject) { Hashtable result = new Hashtable(2); result["Count"] = srcObject.Count; result["Id"] = srcObject.Id; return result; }
public PPSDemoVirtualItemsInfoView(MNVItemsProvider.GameVItemInfo gameVItemInfo) { viewName = "Virtual Item info"; this.gameVItemInfo = gameVItemInfo; }
public void ReqTransferPlayerVItemTransaction(MNVItemsProvider.TransactionVItemInfo[] transactionVItems, long toPlayerId, long clientTransactionId) { }
public void ReqAddPlayerVItemTransaction(MNVItemsProvider.TransactionVItemInfo[] transactionVItems, long clientTransactionId) { }
public void ReqTransferPlayerVItemTransaction(MNVItemsProvider.TransactionVItemInfo[] transactionVItems, long toPlayerId, long clientTransactionId) { MNTools.DLog("MNVItemsProvider:ReqTransferPlayerVItemTransaction"); if (Application.platform == RuntimePlatform.Android) { MNVItemsProviderUnityClass.CallStatic("reqTransferPlayerVItemTransaction",MNUnityCommunicator.Serializer.Serialize(transactionVItems), toPlayerId, clientTransactionId); } else { } }
public void ReqAddPlayerVItemTransaction(MNVItemsProvider.TransactionVItemInfo[] transactionVItems, long clientTransactionId) { MNTools.DLog("MNVItemsProvider:ReqAddPlayerVItemTransaction"); if (Application.platform == RuntimePlatform.IPhonePlayer) { _MNVItemsProvider_ReqAddPlayerVItemTransaction(MNUnityCommunicator.Serializer.Serialize(transactionVItems), clientTransactionId); } else { } }