1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 19:18:47 +00:00

Extract base object

This commit is contained in:
Oliver Booth 2022-12-04 19:19:25 +00:00
parent 83d6c8a76d
commit cb29ad10a4
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -74,6 +74,7 @@ public class VirtualParadiseModelObject : VirtualParadiseObject
return;
}
base.ExtractFromOther(virtualParadiseObject);
Action = model.Action;
Description = model.Description;
Model = model.Model;
@ -82,6 +83,7 @@ public class VirtualParadiseModelObject : VirtualParadiseObject
/// <inheritdoc />
protected internal override void ExtractFromInstance(nint handle)
{
base.ExtractFromInstance(handle);
Action = vp_string(handle, StringAttribute.ObjectAction);
Description = vp_string(handle, StringAttribute.ObjectDescription);
Model = vp_string(handle, StringAttribute.ObjectModel);