Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AddHotBarSlot(uint nSlot, uint nSkillId)
- {
- Trace.WriteLine(String.Format("Adding skill {0} to slot {1}", nSkillId,nSlot));
- Buttons button = m_HotBar.Button[nSlot];
- if (button == null)
- {
- button = new Buttons(nSkillId);
- return;
- }
- if (button.Type != ButtonType.Skill)
- {
- // Update database if this hotbar already exists
- }
- button = new Buttons(nSkillId);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement