PlayerOnlineStatusObj.cs 415 B

12345678910111213141516171819
  1. using Newtonsoft.Json;
  2. namespace HttpApi
  3. {
  4. public class PlayerOnlineStatusObj : AbsMsgObj
  5. {
  6. [JsonProperty] private readonly int[] findPlayer;
  7. public PlayerOnlineStatusObj(string session, int[] findPlayer) : base(session)
  8. {
  9. this.findPlayer = findPlayer;
  10. }
  11. protected override string GetApi()
  12. {
  13. return "playerOnline";
  14. }
  15. }
  16. }