Exemple #1
0
        public void AddEmote(EmoteData pEmoteData)
        {
            if (this.m_emoteData == null)
            {
                this.m_emoteData = new List <EmoteData> [6];
            }
            uint mEvent = (uint)pEmoteData.mEvent;

            if (this.m_emoteData[mEvent] == null)
            {
                this.m_emoteData[mEvent] = new List <EmoteData>();
            }
            this.m_emoteData[mEvent].Add(pEmoteData);
        }
Exemple #2
0
        public void AddEmote(EmoteData pEmoteData)
        {
            if (m_emoteData == null)
            {
                m_emoteData = new List <EmoteData> [(int)NPCBrainEvents.End];
            }

            uint Event = (uint)pEmoteData.mEvent;

            if (m_emoteData[Event] == null)
            {
                m_emoteData[Event] = new List <EmoteData>();
            }

            m_emoteData[Event].Add(pEmoteData);
        }
Exemple #3
0
        public void AddEmote(EmoteData pEmoteData)
        {
            if (m_emoteData == null)
                m_emoteData = new List<EmoteData>[(int)NPCBrainEvents.End];

            uint Event = (uint)pEmoteData.mEvent;
            if( m_emoteData[Event] == null ) 
                m_emoteData[Event] = new List<EmoteData>();

            m_emoteData[Event].Add(pEmoteData);
        }
Exemple #4
0
 public void AddEmote(string pText, NPCBrainEvents pEvent, NPCEmoteType pType)
 {
     var newEmoteData = new EmoteData(pText, pEvent, pType, 0);
     AddEmote(newEmoteData);
 }
Exemple #5
0
 public void AddEmote(string pText, NPCBrainEvents pEvent, NPCEmoteType pType, uint pSoundId)
 {
     var newEmoteData = new EmoteData(pText, pEvent, pType, pSoundId);
     AddEmote(newEmoteData);
 }
Exemple #6
0
 private void DoEmote(EmoteData emoteData)
 {
     DoEmote(emoteData.mText, emoteData.mType, emoteData.mSoundId);
 }
Exemple #7
0
 private void DoEmote(EmoteData emoteData)
 {
     this.DoEmote(emoteData.mText, emoteData.mType, emoteData.mSoundId);
 }
Exemple #8
0
        public void AddEmote(string pText, NPCBrainEvents pEvent, NPCEmoteType pType)
        {
            var newEmoteData = new EmoteData(pText, pEvent, pType, 0);

            AddEmote(newEmoteData);
        }
Exemple #9
0
        public void AddEmote(string pText, NPCBrainEvents pEvent, NPCEmoteType pType, uint pSoundId)
        {
            var newEmoteData = new EmoteData(pText, pEvent, pType, pSoundId);

            AddEmote(newEmoteData);
        }