(965c31410a) Unstable v0.10.4.0
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Steamworks.Data;
|
||||
|
||||
namespace Steamworks.Ugc
|
||||
{
|
||||
public struct UserItemVote
|
||||
{
|
||||
public bool VotedUp;
|
||||
public bool VotedDown;
|
||||
public bool VoteSkipped;
|
||||
|
||||
internal static UserItemVote? From(GetUserItemVoteResult_t result)
|
||||
{
|
||||
return new UserItemVote
|
||||
{
|
||||
VotedUp = result.VotedUp,
|
||||
VotedDown = result.VotedDown,
|
||||
VoteSkipped = result.VoteSkipped
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user