Exemplo n.º 1
0
        // Token: 0x06000750 RID: 1872 RVA: 0x0000E1E4 File Offset: 0x0000C3E4
        public static bool SetProperty2(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, float flValue)
        {
            InteropHelp.TestIfAvailableClient();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName))
            {
                result = NativeMethods.ISteamInventory_SetProperty2(CSteamAPIContext.GetSteamInventory(), handle, nItemID, utf8StringHandle, flValue);
            }
            return(result);
        }
Exemplo n.º 2
0
        // Token: 0x06000663 RID: 1635 RVA: 0x0000CF1C File Offset: 0x0000B11C
        public static bool RemoveProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName)
        {
            InteropHelp.TestIfAvailableGameServer();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName))
            {
                result = NativeMethods.ISteamInventory_RemoveProperty(CSteamGameServerAPIContext.GetSteamInventory(), handle, nItemID, utf8StringHandle);
            }
            return(result);
        }
Exemplo n.º 3
0
 // Token: 0x06000751 RID: 1873 RVA: 0x000056FA File Offset: 0x000038FA
 public static bool SubmitUpdateProperties(SteamInventoryUpdateHandle_t handle, out SteamInventoryResult_t pResultHandle)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamInventory_SubmitUpdateProperties(CSteamAPIContext.GetSteamInventory(), handle, out pResultHandle));
 }