コード例 #1
0
 public ALFAItemProperty(ushort propertyName, byte param1, byte param1value, byte param2, byte param2value, ushort subtype, byte costTable, ushort costValue, byte chanceAppear)
 {
     agffs = new ALFAGFFStruct();
     agffs.SetWord("PropertyName", propertyName);
     agffs.SetByte("Param1", param1);
     agffs.SetByte("Param1Value", param1value);
     agffs.SetByte("Param2", param2);
     agffs.SetByte("Param2Value", param2value);
     agffs.SetWord("Subtype", subtype);
     agffs.SetByte("CostTable", costTable);
     agffs.SetWord("CostValue", costValue);
     agffs.SetByte("ChanceAppear", chanceAppear);
 }
コード例 #2
0
 public ALFAItemBlueprint(NWN2Toolset.NWN2.Data.Blueprints.NWN2ItemBlueprint itemBlueprint)
 {
     itemGFFStruct = new ALFAGFFStruct();
     itemBlueprint.SaveEverythingIntoGFFStruct(itemGFFStruct, true);
 }
コード例 #3
0
 public ALFAItemBlueprint()
 {
     itemGFFStruct = new ALFAGFFStruct();
 }