public override void Read(PythonReader pr) { pr.ReadTuple(); CustomizationActionArgId = pr.ReadInt(); CustomizationEntityId = pr.ReadLong(); SelectedClassTemplateId = pr.ReadInt(); pr.ReadNoneStruct(); pr.ReadNoneStruct(); }
public override void Read(PythonReader pr) { pr.ReadTuple(); if (pr.PeekType() == PythonType.Int) { TitleId = (uint)pr.ReadInt(); } else { pr.ReadNoneStruct(); } }
//public int ItemId { get; set; } // ToDo check later maybe it's id of item if it's draged into abilityDrawer, not used for skills public override void Read(PythonReader pr) { pr.ReadTuple(); SlotId = pr.ReadInt(); if (pr.PeekType() == PythonType.Long) { AbilityId = pr.ReadLong(); } else { pr.ReadNoneStruct(); } if (pr.PeekType() == PythonType.Long) { AbilityLevel = pr.ReadLong(); } else { pr.ReadNoneStruct(); } pr.ReadNoneStruct(); }
public override void Read(PythonReader pr) { pr.ReadTuple(); ActionId = (ActionId)pr.ReadInt(); ActionArgId = pr.ReadInt(); Target = (uint)pr.ReadLong(); if (pr.PeekType() == PythonType.Int) { ItemId = pr.ReadInt(); } else { pr.ReadNoneStruct(); } }