ChannelCreationOptions.cs 1.3 KB

12345678910111213141516171819202122
  1. // ----------------------------------------------------------------------------------------------------------------------
  2. // <summary>The Photon Chat Api enables clients to connect to a chat server and communicate with other clients.</summary>
  3. // <remarks>ChannelCreationOptions is a parameter used when subscribing to a public channel for the first time.</remarks>
  4. // <copyright company="Exit Games GmbH">Photon Chat Api - Copyright (C) 2018 Exit Games GmbH</copyright>
  5. // ----------------------------------------------------------------------------------------------------------------------
  6. namespace Photon.Chat
  7. {
  8. public class ChannelCreationOptions
  9. {
  10. /// <summary>Default values of channel creation options.</summary>
  11. public static ChannelCreationOptions Default = new ChannelCreationOptions();
  12. /// <summary>Whether or not the channel to be created will allow client to keep a list of users.</summary>
  13. public bool PublishSubscribers { get; set; }
  14. /// <summary>Limit of the number of users subscribed to the channel to be created.</summary>
  15. public int MaxSubscribers { get; set; }
  16. #if CHAT_EXTENDED
  17. public System.Collections.Generic.Dictionary<string, object> CustomProperties { get; set; }
  18. #endif
  19. }
  20. }