1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 23:58: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; return;
} }
base.ExtractFromOther(virtualParadiseObject);
Action = model.Action; Action = model.Action;
Description = model.Description; Description = model.Description;
Model = model.Model; Model = model.Model;
@ -82,6 +83,7 @@ public class VirtualParadiseModelObject : VirtualParadiseObject
/// <inheritdoc /> /// <inheritdoc />
protected internal override void ExtractFromInstance(nint handle) protected internal override void ExtractFromInstance(nint handle)
{ {
base.ExtractFromInstance(handle);
Action = vp_string(handle, StringAttribute.ObjectAction); Action = vp_string(handle, StringAttribute.ObjectAction);
Description = vp_string(handle, StringAttribute.ObjectDescription); Description = vp_string(handle, StringAttribute.ObjectDescription);
Model = vp_string(handle, StringAttribute.ObjectModel); Model = vp_string(handle, StringAttribute.ObjectModel);