Skip to content

Commit

Permalink
Update APIs (NWNX: d4d7142e, NWN: 8193.36-12).
Browse files Browse the repository at this point in the history
  • Loading branch information
jhett12321 committed Mar 17, 2024
1 parent a277346 commit 70caec5
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/API/CNWSCreature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5392,6 +5392,16 @@ public int WalkUpdateLocationTestDistance(Vector vStart, Vector vEnd) {
return retVal;
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSCreature_GetFirstName(swigCPtr), false);
return ret;
}

public override CExoLocString GetLastName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSCreature_GetLastName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSCreature__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSDoor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,11 @@ public Vector GetNearestActionPoint(Vector vCloseTo) {
return ret;
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSDoor_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSDoor__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSEncounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,11 @@ public void LoadFractionalCRData() {
NWNXLibPINVOKE.CNWSEncounter_LoadFractionalCRData(swigCPtr);
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSEncounter_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSEncounter__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,11 @@ public float CalculatePassiveCost(CNWItemProperty pItemProperty) {
return retVal;
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSItem_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSItem__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSPlaceable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,11 @@ public void CalculateActionPoints() {
NWNXLibPINVOKE.CNWSPlaceable_CalculateActionPoints(swigCPtr);
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSPlaceable_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSPlaceable__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,11 @@ public void OnEnterTrap(int bForceSet) {
NWNXLibPINVOKE.CNWSTrigger_OnEnterTrap(swigCPtr, bForceSet);
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSTrigger_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSTrigger__Destructor(swigCPtr);
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/API/CNWSWaypoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ public int SaveWaypoint(CResGFF pRes, CResStruct cWaypointStruct) {
return retVal;
}

public override CExoLocString GetFirstName() {
CExoLocString ret = new CExoLocString(NWNXLibPINVOKE.CNWSWaypoint_GetFirstName(swigCPtr), false);
return ret;
}

public new void _Destructor() {
NWNXLibPINVOKE.CNWSWaypoint__Destructor(swigCPtr);
}
Expand Down
24 changes: 24 additions & 0 deletions src/main/API/NWNXLibPINVOKE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18466,6 +18466,12 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSCreature_WalkUpdateLocationTestDistance___")]
public static extern int CNWSCreature_WalkUpdateLocationTestDistance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSCreature_GetFirstName___")]
public static extern global::System.IntPtr CNWSCreature_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSCreature_GetLastName___")]
public static extern global::System.IntPtr CNWSCreature_GetLastName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSCreature__Destructor___")]
public static extern void CNWSCreature__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -21121,6 +21127,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSDoor_GetNearestActionPoint__SWIG_1___")]
public static extern global::System.IntPtr CNWSDoor_GetNearestActionPoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSDoor_GetFirstName___")]
public static extern global::System.IntPtr CNWSDoor_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSDoor__Destructor___")]
public static extern void CNWSDoor__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -22327,6 +22336,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSEncounter_LoadFractionalCRData___")]
public static extern void CNWSEncounter_LoadFractionalCRData(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSEncounter_GetFirstName___")]
public static extern global::System.IntPtr CNWSEncounter_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSEncounter__Destructor___")]
public static extern void CNWSEncounter__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -23176,6 +23188,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSItem_CalculatePassiveCost___")]
public static extern float CNWSItem_CalculatePassiveCost(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSItem_GetFirstName___")]
public static extern global::System.IntPtr CNWSItem_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSItem__Destructor___")]
public static extern void CNWSItem__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -26191,6 +26206,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSPlaceable_CalculateActionPoints___")]
public static extern void CNWSPlaceable_CalculateActionPoints(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSPlaceable_GetFirstName___")]
public static extern global::System.IntPtr CNWSPlaceable_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSPlaceable__Destructor___")]
public static extern void CNWSPlaceable__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -28781,6 +28799,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSTrigger_OnEnterTrap___")]
public static extern void CNWSTrigger_OnEnterTrap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSTrigger_GetFirstName___")]
public static extern global::System.IntPtr CNWSTrigger_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSTrigger__Destructor___")]
public static extern void CNWSTrigger__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down Expand Up @@ -31007,6 +31028,9 @@ static NWNXLibPINVOKE() {
[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSWaypoint_SaveWaypoint___")]
public static extern int CNWSWaypoint_SaveWaypoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSWaypoint_GetFirstName___")]
public static extern global::System.IntPtr CNWSWaypoint_GetFirstName(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("NWNX_SWIG_DotNET", EntryPoint="CSharp_NWNfNativefAPI_CNWSWaypoint__Destructor___")]
public static extern void CNWSWaypoint__Destructor(global::System.Runtime.InteropServices.HandleRef jarg1);

Expand Down

0 comments on commit 70caec5

Please sign in to comment.