// RVA: 0xF91EE4 Offset: 0xF91EE4 VA: 0xF91EE4
public SeafarerOffer CreateOffer(string itemId, int amount, int price, bool p_allianceOnly, bool post = True) { }
How can I change only "int price" value to 0 with the Offset?
If I change the Offset to 0, all other values in the Offset are also changed.
public class SeafarerOffer // TypeDefIndex: 13541
{
// Fields
public string id; // 0x10
public string itemId; // 0x18
public int amount; // 0x20
public int price; // 0x24
public string costItem; // 0x28
public string status; // 0x30
public string seller; // 0x38
public string buyer; // 0x40
public int voyage; // 0x48
public long createdAt; // 0x50
public bool autoBuy; // 0x58
public int autobuyTime; // 0x5C
public AuctionOffer.State tradeState; // 0x60
public string trade_service_id; // 0x68
public string errorType; // 0x70
public bool allianceOnly; // 0x78
public const string STATUS_AVALIABLE = "available";
public const string STATUS_SOLD = "sold";
public const string STATUS_DELETED = "deleted";
If I change the value of the Fields "public int price; // 0x24", it does not work.
Do I have to combine the Offset with the Fields?
If yes, how?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
derbeyonder
// RVA: 0xF91EE4 Offset: 0xF91EE4 VA: 0xF91EE4
public SeafarerOffer CreateOffer(string itemId, int amount, int price, bool p_allianceOnly, bool post = True) { }
How can I change only "int price" value to 0 with the Offset?
If I change the Offset to 0, all other values in the Offset are also changed.
public class SeafarerOffer // TypeDefIndex: 13541
{
// Fields
public string id; // 0x10
public string itemId; // 0x18
public int amount; // 0x20
public int price; // 0x24
public string costItem; // 0x28
public string status; // 0x30
public string seller; // 0x38
public string buyer; // 0x40
public int voyage; // 0x48
public long createdAt; // 0x50
public bool autoBuy; // 0x58
public int autobuyTime; // 0x5C
public AuctionOffer.State tradeState; // 0x60
public string trade_service_id; // 0x68
public string errorType; // 0x70
public bool allianceOnly; // 0x78
public const string STATUS_AVALIABLE = "available";
public const string STATUS_SOLD = "sold";
public const string STATUS_DELETED = "deleted";
If I change the value of the Fields "public int price; // 0x24", it does not work.
Do I have to combine the Offset with the Fields?
If yes, how?
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now