using Newtonsoft.Json; namespace HttpApi { public class PlayerOnlineStatusObj : AbsMsgObj { [JsonProperty] private readonly int[] findPlayer; public PlayerOnlineStatusObj(string session, int[] findPlayer) : base(session) { this.findPlayer = findPlayer; } protected override string GetApi() { return "playerOnline"; } } }