27 lines
711 B
C#
27 lines
711 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using RustTools.muqing;
|
|||
|
|
|||
|
namespace RustTools.ApiFox;
|
|||
|
|
|||
|
public class Dynamic
|
|||
|
{
|
|||
|
public static Task<string> GetAllDynamic(string account,int limit = 0)
|
|||
|
{
|
|||
|
return wl.postAsync("/php/dynamic.php?action=getAllDynamic", [
|
|||
|
["account", account],
|
|||
|
["limit", limit == 0 ? "0" : limit.ToString()]
|
|||
|
]);
|
|||
|
}
|
|||
|
public static Task<string> Getlist(string account, int limit = 0)
|
|||
|
{
|
|||
|
return wl.postAsync("/php/dynamic.php?action=list", [
|
|||
|
["account", account],
|
|||
|
["limit", limit == 0 ? "0" : limit.ToString()]
|
|||
|
]);
|
|||
|
}
|
|||
|
}
|