示例#1
0
        protected override void Awake()
        {
            base.Awake();

            _channelTabs = new SortedDictionary <object, ChannelTab>();
            _talkHistory = new Core.Utils.RingBuffer <string>(200);

            OpenTibiaUnity.ChatStorage.onAddChannel.AddListener(OnAddChannel);
            OpenTibiaUnity.ChatStorage.onClearChannels.AddListener(OnClearChannels);

            OpenTibiaUnity.GameManager.onGameStart.AddListener(OnGameStart);
        }
示例#2
0
 public ChannelInformation(Channel channel)
 {
     this.channel = channel;
     talkHistory  = new Core.Utils.RingBuffer <ChannelMessage>(Constants.MaxTalkHistory);
 }